﻿@using MVCDemo.Controllers
@model IEnumerable<Student>
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>List</title>
</head>
<body>
    <ul>
        @foreach (Student student in (ViewBag.List as IEnumerable<Student>))
        {
            <li>
                @student.Name
            </li>
        }
    </ul>
</body>
</html>
